package com.mapull.web;

import com.mapull.entity.Product;
import org.springframework.web.bind.annotation.*;

/**
 * @author: mapull
 * @description: 产品
 * @date:2020/03/12
 **/
@RestController
@RequestMapping("/product")
public class ProductController {

    @GetMapping("/find")
    public Product findProduct(){
        return new Product(9.9,"toy");
    }
}
